package com.wxzz.elearing.evaluation.service.openfeign;

import com.wxzz.elearing.evaluation.service.openfeign.sentinel.WxLivetelecastApiFeignImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "2127-wxzz-livetelecast-application",fallback = WxLivetelecastApiFeignImpl.class)
public interface IWxLivetelecastApiFeign {

    @RequestMapping(value = "/wx-livetelecast-api/countByPlatformLivetelecast", method = RequestMethod.POST)
    Integer countByPlatformLivetelecast();

    @RequestMapping(value = "/wx-livetelecast-api/countByActivity", method = RequestMethod.POST)
    Integer countByActivity();
}
